<?php
//
//Route::get('/', 'TopicsController@index')->name('root');
//
//// Authentication Routes...
//Route::get('login', 'Auth\LoginController@showLoginForm')->name('login');
//Route::post('login', 'Auth\LoginController@login');
//Route::post('logout', 'Auth\LoginController@logout')->name('logout');
//
//// Registration Routes...
//Route::get('register', 'Auth\RegisterController@showRegistrationForm')->name('register');
//Route::post('register', 'Auth\RegisterController@register');
//
//// Password Reset Routes...
//Route::get('password/reset', 'Auth\ForgotPasswordController@showLinkRequestForm')->name('password.request');
//Route::post('password/email', 'Auth\ForgotPasswordController@sendResetLinkEmail')->name('password.email');
//Route::get('password/reset/{token}', 'Auth\ResetPasswordController@showResetForm')->name('password.reset');
//Route::post('password/reset', 'Auth\ResetPasswordController@reset');
//
//Route::resource('users', 'UsersController', ['only' => ['show', 'update', 'edit']]);
//Route::resource('topics', 'TopicsController', ['only' => ['index', 'create', 'store', 'update', 'edit', 'destroy']]);
//Route::resource('books', 'BooksController', ['only' => ['index', 'show', 'create', 'store', 'update', 'edit', 'destroy', 'chapterAdd', 'chapterHasTopic']]);
//
//Route::resource('categories', 'CategoriesController', ['only' => ['show']]);
//Route::resource('categories', 'CategoriesController', ['only' => ['show']]);
//
//Route::post('upload_image', 'TopicsController@uploadImage')->name('topics.upload_image');
//
//Route::get('topics/{topic}/{slug?}', 'TopicsController@show')->name('topics.show');
//Route::resource('replies', 'RepliesController', ['only' => ['store', 'destroy']]);
//Route::resource('notifications', 'NotificationsController', ['only' => ['index']]);
//Route::get('permission-denied', 'PagesController@permissionDenied')->name('permission-denied');
//
////add-DIY
//Route::get('search', 'TopicsController@search');
